<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 100px;
            height: 100px;
            background-image: linear-gradient(to right,pink, green, pink);
            text-align: center;
            font-size: 20px;
            margin: 17px 23px 22px 18px;
            padding: 16px 25px 19px 27px;
            border: 3px solid green;
        }
        section{
            /* 设置边框盒子 */
            box-sizing: border-box;
            
            width: 100px;
            height: 100px;
            
            background-image: radial-gradient(red,pink,cyan);
            margin: 23px 17px 27px;
            padding: 19px 15px 17px 22px;
            border: 3px solid orange;
        }
    </style>
</head>

<body>
    <div>123</div>
    <div>456</div>
    <div>789</div>
    
    <section>11</section>
</body>

</html>